package com.bingxue.edu.parent.model.resp;

import com.bingxue.edu.management.education.model.entity.EnrollChangeRecord;
import com.bingxue.edu.parent.model.entity.StudentClassInfo;
import com.mybatisflex.annotation.RelationManyToOne;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author panbo
 * @since 2024/9/19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "家长端转班调课返回信息")
public class StudentClassChangeRecordResp extends EnrollChangeRecord {

    @RelationManyToOne(selfField = "originalClassId", targetTable = "edu_class_info", targetField = "id")
    private StudentClassInfo originalClassInfo;

    @RelationManyToOne(selfField = "targetClassId", targetTable = "edu_class_info", targetField = "id")
    private StudentClassInfo targetClassInfo;

}
